//
//  SecondViewController.h
//  chollos2
//
//  Created by Juan Soler Company on 11/04/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "oferta.h"
#import "CustomCell.h"

@interface SecondViewController : UIViewController
<UITableViewDelegate,UITableViewDataSource>{

    NSMutableArray *listData;
 	NSMutableData *receivedData;
 	NSURL *url;
    __weak IBOutlet UITableView *offerList;
    IBOutlet CustomCell *tblCell;
    
}
@property (nonatomic,retain) NSMutableData *receivedData;
@property(nonatomic, retain) NSMutableArray *listData;
@property (weak, nonatomic) IBOutlet UITableView *offerList;

- (void)get: (NSString *)urlString;
- (void)post: (NSString *)urlString;
- (void)ofertesProperes:(NSString *)data;
- (void)renderData:(NSMutableArray *)data;

@end
